package com.justyh.ssm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/")
public class RootController {
    @RequestMapping(path={"/",""},method = {RequestMethod.GET})
    public Object index(){
        return new ModelAndView("index");
    }
}
